import { AdminRoleEnum } from "@prisma/client";
import Axios from "axios";
import moment from "moment";

import { Service } from "egg";

export default class StoreService extends Service {
  /** 根据管理员admin获取店铺id */
  getStoreIdByAdminId() {
    return this.ctx.admin?.storeId;
  }
}
